home *** CD-ROM | disk | FTP | other *** search
/ Ratselspass 18 / Ratselspass - Nr 18.iso / majongvg / mjvga30.doc < prev    next >
Text File  |  1991-02-21  |  50KB  |  1,604 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                     Mah Jongg
  19.                                      -V-G-A-
  20.                                    Version 3.0
  21.                                   January, 1991
  22.  
  23.  
  24.                               Program and Documentation
  25.                          Copyright 1988 - 1991  Ron Balewski
  26.  
  27.  
  28.  
  29.  
  30. Mah Jongg -V-G-A- is a User-Supported (Shareware) prooduct.  It is
  31. freely available through User's Groups, Bulletin Boards, etc.  You have
  32. the opportunity to try the game and see if it suits your needs.  If you
  33. find that you enjoy and use this game, please send the requested
  34. contribution of $15.00 to:
  35.  
  36.      Ron Balewski
  37.      412 E. Ridge St.
  38.      Nanticoke, PA  18634-2915
  39.  
  40.  
  41. User-supported shareware can exist only as long as you, the users, will
  42. support it!
  43.  
  44.  
  45.  
  46. TABLE OF CONTENTS:
  47. -------------------
  48.  
  49.         FORWARD: A Message to current users .... 4
  50.         WHAT IS MAH JONGG -V-G-A- .............. 5
  51.         HARDWARE REQUIREMENTS .................. 4
  52.  
  53.         THE GAME OF MAH JONGG .................. 6
  54.              The Tiles ......................... 6
  55.              The Suits ......................... 6
  56.              The Game Board .................... 6
  57.              Playing Mah Jongg ................. 7
  58.              Strategy .......................... 7
  59.  
  60.         PLAYING MAH JONGG -V-G-A- .............. 8
  61.              The Basics ........................ 8
  62.              The Added Features ................ 9
  63.                   Special ...................... 9
  64.                   K submenu .................... 9
  65.                   Messages ..................... 9
  66.                   Restore ...................... 9
  67.                   Quit ........................ 10
  68.                   New Game .................... 10
  69.                   Save ........................ 10
  70.                   What's Left ................. 10
  71.                   Back-up ..................... 11
  72.                   Help ........................ 11
  73.                   Done ........................ 13
  74.                   Turning Off the Menu ........ 13
  75.  
  76.              The Special Sub-Menu ............. 14
  77.                   Background .................. 14
  78.                   Info... ..................... 14
  79.                   DOS Shell ................... 14
  80.                   Sound ....................... 15
  81.                   Timer ....................... 15
  82.  
  83.              Keyboard Commands ................ 16
  84.                   Load Tile Set ............... 16
  85.                   Box Cursor Toggle ........... 16
  86.                   Hall of Fame ................ 17
  87.                   Book-Marks .................. 17
  88.                   DOS Shell ................... 17
  89.  
  90.              Stack Control Menu ............... 18
  91.                   Peek ........................ 18
  92.                   Rotate ...................... 18
  93.                   Remove ...................... 18
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.                                     - Page 2 -
  103.  
  104.  
  105.              Command Line Options ............. 19
  106.                   B ........................... 19
  107.                   D ........................... 19
  108.                   F ........................... 19
  109.                   L ........................... 19
  110.                   M ........................... 19
  111.                   R ........................... 19
  112.                   S ........................... 19
  113.                   T ........................... 19
  114.  
  115.         IN CASE OF DIFFICULTY ................. 20
  116.         TECHNICAL SUPPORT ..................... 20
  117.         BULLETIN BOARD ........................ 21
  118.         WHAT'S NEXT ........................... 21
  119.         SHARWEWARE ............................ 22
  120.         DISCLAIMER ............................ 22
  121.         PERMISSION TO COPY .................... 23
  122.  
  123.         Appendix A:  The Files ................ 24
  124.  
  125.         Appendix B:  The MIDI Sound Files ...... 25
  126.  
  127.  
  128.  
  129. Special thanks to Warren Storosko for his valuable assistance with
  130. this project.  Many of Mah Jongg -V-G-A-'s special features are a
  131. direct result of his helpful suggestions.
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.                                     - Page 3 -
  163.  
  164.  
  165.  
  166.  
  167.  
  168.                                FORWARD
  169.  
  170.                     A message to current users
  171.  
  172.  
  173.      As usual, there's a WHATSNEW.V30 text file listing all changes made
  174. to MJVGA since the last release.
  175.  
  176.      I'd once again like to thank those who have registered the various
  177. versions of MJVGA (this is the fifth release already!).  Your constant
  178. support and encouragement is what keeps me working on MJVGA.
  179.  
  180.      The bound manual that I mentioned in the last release still isn't
  181. ready -- and probably won't be unless a LOT more of you want it.  To
  182. date, I've had at most four people express interest in it.  It
  183. definitely wouldn't be worth my time for so few people -- I'd much
  184. rather spend the time programming!
  185.  
  186.      Now for a bit of marketing research.  How many of you have or plan
  187. to purchase an 8514/A graphics card?  I plan to re-do MJVGA for 1024x768
  188. resolution using 256 colors on that card in the near future.  I'd like
  189. to have one of the first (if not THE first) games on the market that
  190. uses the 8514/A standard.  If you could use it, I'd like to hear from
  191. you!
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.                                   - Page 4 -
  223.  
  224.  
  225.  
  226.  
  227.  
  228. WHAT IS MAH JONGG -V-G-A-?
  229.  
  230.      Mah Jongg -V-G-A- is a high-tech simulation of the ancient Chinese
  231. game of Mah Jongg.  Some historians date Mah Jongg back to the time of
  232. Confucius -- over 25 centuries ago!
  233.  
  234.      It's believed that sailors and fishermen played Mah Jongg as a
  235. diversion from the monotony of their long voyages.  The game was
  236. originally played with cards, but eventually bone and bamboo tiles were
  237. substituted since these were less likely to be blown off the deck.
  238.  
  239.      Mah Jongg -V-G-A- recreates the beauty and addictive pleasure of
  240. Mah Jongg, but uses modern data processing techniques and
  241. high-resolution graphics instead of bamboo tiles.
  242.  
  243.      In an attempt to make this game as elegant and as enjoyable as
  244. possible, the author has used some of the most advanced features of
  245. today's state-of-the-art MS-DOS computers.  Not all PC computers are
  246. able to run Mah Jongg -V-G-A-.  But if yours can, prepare yourself for
  247. the meeting of the past and future!!!
  248.  
  249.  
  250. WHAT DO I NEED?
  251.  
  252.      Mah Jongg -V-G-A- will run on properly-equipped PC's and
  253. compatibles with 640k of memory.  It should run with less, but I don't
  254. know the exact lower limit.
  255.  
  256.      A VGA graphics card and a Logitech-compatible mouse are also
  257. required.  Certain convenience features require a three-button mouse.
  258. However, the game can be played with a Microsoft-compatible two-button
  259. mouse.
  260.  
  261.      I also recommend a secondary monochrome monitor.  Mah Jongg -V-G-A-
  262. will use both the VGA and the monochrome monitors simultaneously to
  263. display the game board and statistics.  While you don't NEED the
  264. monochrome display, I find it to be a useful part of the game.
  265.  
  266.      A fast processor isn't really necessary.  While a fast machine and
  267. a fast graphics card will speed up tile removal somewhat, the game plays
  268. just fine on a standard turbo XT.
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.                                     - Page 5 -
  283.  
  284.  
  285.  
  286.  
  287.  
  288. THE GAME OF MAH JONGG
  289. ---------------------
  290.  
  291. THE TILES
  292.  
  293.      There are 42 different tiles used in Mah Jongg as follows:  27 Suit
  294. tiles (nine tiles in each of three suits), 3 Dragons, 4 Winds, 4
  295. Seasons, and 4 Flowers.
  296.  
  297.  
  298. THE SUITS
  299.  
  300.      The Suit Of Dots - This suit goes back to the original sailor's
  301. version of Mah Jongg.  The dots probably represent money.
  302.  
  303.      The Suit Of Bam - Bam stands for Bamboo.  Because bamboo was used
  304. to make deadly spears, this suit is thought to represent power or
  305. victory.
  306.  
  307.      The Suit Of Crak - These are also called Characters or Actors.
  308. Crak may represent actual people or may simply be characters from the
  309. Chinese alphabet.
  310.  
  311.      The Dragons - In the Ancient Mah Jongg, each suit was associated
  312. with a Dragon as follows:
  313.  
  314.                    White dragons - Suit Of Dots
  315.                    Red Dragons   - Suit Of Bam
  316.                    Green Dragons - Suit Of Crak
  317.  
  318. This association has no direct bearing on the current play of the game.
  319.  
  320.      The Winds - These tiles simply represent the four directions of the
  321. winds -- North, South, East, and West.
  322.  
  323.      The Flowers - The four flowers - Orchid, Plum, Mum, and Bamboo -
  324. were introduced by a medieval princess to add beauty and romance to the
  325. game.
  326.  
  327.      The Seasons - This is another direct representation -- this time of
  328. the seasons - Spring, Summer, Autumn, and Winter.  It is thought that
  329. the seasons were added to Mah Jongg by river gamblers.
  330.  
  331.  
  332. THE GAME BOARD
  333.  
  334.      Each game board consists of 144 tiles made up of four of each type
  335. of tile EXCEPT for the Seasons and Flowers of which there is one each.
  336. The tiles are laid out in a formation called a Dragon.  The position of
  337. each tile in the dragon is completely random, making each dragon unique.
  338. Some are more formidable than others.  Some are actually impossible to
  339. defeat.  But all are challenging and exciting.
  340.  
  341.  
  342.                                     - Page 6 -
  343.  
  344.  
  345.  
  346.  
  347.  
  348.      The tiles are placed in stacks ranging in height from one tile at
  349. the edge to five tiles at the center.  The easiest way to understand the
  350. dragon is to see one.  Run Mah Jongg -V-G-A-.  The dragon you'll see
  351. will be a far better explanation than I can give.
  352.  
  353.  
  354. PLAYING MAH JONGG
  355.  
  356.      The object of Mah Jongg is simple -- remove all of the tiles by
  357. matching pairs.  But there IS a catch.  Only tiles which are "free" can
  358. be removed.
  359.  
  360.      A tile is considered "free" if there's nothing on top of it and if
  361. it can slide out to the left OR right.  If tiles on both sides are
  362. stacked to the same height the tile is not "free" to be removed.
  363.  
  364.      Two tiles MUST be free and MUST be an exact match (exceptions
  365. later) before they can be removed from the dragon.  Removal of
  366. mismatched tiles and removal of un-free tiles is not allowed.
  367.  
  368.      The exception:  Since there is one each of the Seasons and the
  369. Flowers, these tiles cannot be matched identically.  So any flower can
  370. match with any other flower.  Likewise, any season can match with any
  371. other season.
  372.  
  373.  
  374. STRATEGY:
  375.  
  376.      During my countless hours of testing Mah Jongg -V-G-A-, I've found
  377. a few pieces of strategy that seem to help:
  378.  
  379. --> Concentrate on removing the four tiles which are blocking the most
  380. moves - the top tile, the single tile on the left, and the two tiles on
  381. the right.
  382.  
  383. --> Look for quadruples.  If all four of a given tile are free, remove
  384. them all immediately.  This will get them out of the way and won't cause
  385. problems later.
  386.  
  387. --> Keep an eye out for doubles (two tiles free) of tiles with only two
  388. left (the monochrome screen helps here).  These should also be removed
  389. immediately.
  390.  
  391. --> Before removing two tiles of four remaining, be sure that no OBVIOUS
  392. harm (trapped tiles) will occur.
  393.  
  394. --> Always check for triples.  If you've found a pair with four
  395. remaining, see if any more are free.  Then, take the two which will free
  396. up the most tiles.
  397.  
  398.  
  399.  
  400.  
  401.                                     - Page 7 -
  402.  
  403.  
  404.  
  405.  
  406.  
  407. PLAYING MAH JONGG -V-G-A- 3.0
  408. -----------------------------
  409.  
  410. THE BASICS
  411.  
  412.      To start Mah Jongg -V-G-A-, just place the game disk into a drive,
  413. log onto that drive, and type MJVGA30 at the DOS prompt.  After some
  414. disk activity, the opening screen will come up.  A short time later, the
  415. title screen will fade and the dragon will be drawn.
  416.  
  417.      If you have a monochrome monitor connected to your computer, you
  418. should be sure that it's turned on.  From here on, I'll assume that
  419. you're looking at both monitors.  If you only have a VGA monitor, just
  420. ignore all references to the Monochrome.
  421.  
  422.      Tiles are removed by first selecting one, then selecting its mate.
  423. To select a tile, just point to it with the mouse and press the left
  424. mouse button.  The tile will change color (and its listing on the
  425. monochrome will be highlighted) to show that it has been selected. You
  426. don't have to double-click to remove the tiles.  When two tiles have
  427. been selected, they will (after validation) be removed.
  428.  
  429.      To de-select a tile, just click on it again.  The tile and its
  430. listing will return to normal.
  431.  
  432.      If you click on a tile which is not free, a 'Tile Not Free"
  433. meessage will appear on the left side of the screen after which the
  434. offending tile will automatically be de-selected.  Likewise, if you
  435. select two tiles wcich don't match, you'll see a "Tiles don't match"
  436. message after which both tiles will be de-selected  These messages will
  437. remain on-screen for a set period of time.  However, you can cancel
  438. them early by clicking the left mouse button.
  439.  
  440.      The counter at the top-left of the VGA screen (and on the right
  441. side of the monochrome screen) will show how many tiles remain in the
  442. dragon.
  443.  
  444.      This is all you really need to know to play the game.  But, there
  445. are some other features which make the play a lot more enjoyable.  The
  446. menu of features can be found in the upper right section of the VGA
  447. display.  I'll explain each of these features individually in a moment.
  448. But, to activate any one of them, just point to the desired feature with
  449. the mouse and click the left button.
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.                                     - Page 8 -
  462.  
  463.  
  464.  
  465.  
  466.  
  467. THE ADDED FEATURES
  468.  
  469.      For convenience, I'll describe the features as they appear in the
  470. menu from top to bottom, starting with Special.
  471.  
  472.  
  473.  
  474. SPECIAL
  475. =======
  476.         Selecting SPECIAL will open up a smaller sub-menu on the left
  477.         side of the VGA screen.  You shouldn't need these features too
  478.         often, but they're nice to have just in case.  I'll describe
  479.         each of these special features in detail later on.
  480.  
  481.  
  482. K
  483. =
  484.         Selecting the smaller K button on the right side of the SPECIAL
  485.         button will open another pop-up menu.  This menu contains a list
  486.         of seldom-used features which, in past versions, were only
  487.         accessable via the keyboard.  You can now select them with this
  488.         menu by left-presssing on K, dragging the mouse down until the
  489.         option you want is hilighted, then releasing the left button.
  490.         To close the menu without making a selection, just move the
  491.         mouse cursor off of the menu without releasing the button.  The
  492.         menu will go away and you can then release the button without
  493.         selecting anything.  For a complete description of these
  494.         features see the section on keyboard input later in this manual
  495.  
  496.  
  497. MESSAGES ARE ON / OFF
  498. =====================
  499.         This option controls whether or not the "Tile not free" and
  500.         Tiles do not match" messages are printed.  The messages are
  501.         initially on.  They can be toggled on / off by clicking on the
  502.         box.  When the messages are turned off, un-free tile selections
  503.         are ignored and mis-matched selections are simply reset.
  504.         Experienced players may prefer to turn off the messages to keep
  505.         mis-clicks from slowing up the game with messages.
  506.  
  507.  
  508. RESTORE
  509. =======
  510.         Restore will load a game previously saved to disk.  A window
  511.         will open and you'll be asked to select a file name.  If you hit
  512.         this button accidentally, just cancel the restore by pressing
  513.         clicking on ESC.
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.                                     - Page 9 -
  522.  
  523.  
  524.  
  525.  
  526.  
  527. QUIT
  528. ====
  529.         Selecting Quit will clear both monitors and return you to the
  530.         DOS prompt.
  531.  
  532.  
  533. NEW GAME
  534. ========
  535.         Clicking on New Game will start a new game of Mah Jongg.  The
  536.         VGA screen will clear and the computer will shuffle the tiles.
  537.         Then a new dragon will be drawn.
  538.  
  539.         The New Game option can also be used to start the current game
  540.         from the very beginning without having to use the BACK-UP
  541.         command repeatedly.  To re-start the current game, just hold
  542.         down the right mouse button while clicking on the New Game
  543.         button with the left.
  544.  
  545.  
  546. SAVE
  547. ====
  548.         The Save command is Restore's partner.  You can save a current
  549.         game to disk for later completion by clicking here.  You'll be
  550.         asked for a file name for the game.  If you decide not to save
  551.         the game, just press Return without typing anything.  Either
  552.         way, you'll be returned to the current game.
  553.  
  554.  
  555. WHAT'S LEFT
  556. ===========
  557.         To see exactly what tiles are left in the dragon, just click
  558.         here!  The dragon will be replaced by a graphic depiction of
  559.         exactly how many of which tiles are left.  Very useful for
  560.         determining tricky moves!  To return to the game board, just
  561.         click the RIGHT mouse button.
  562.  
  563.         To quickly find out how many of one type of tile are left, just
  564.         high-light the desied tile before selecting What's Left.  A
  565.         message will appear on the left side of the screen telling
  566.         exactly how many of the selected tile are left.  Note that if
  567.         you select a Season or Flower, the total number of Seasons /
  568.         Flowers will be shown.
  569.  
  570.         Of course, monochrome users will seldom have to use this
  571.         feature.  All of this information (and much more) is constantly
  572.         displayed on the monochrome monitor.
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.                                     - Page 10 -
  582.  
  583.  
  584.  
  585.  
  586.  
  587. BACK-UP
  588. =======
  589.         Each time you click on Back-up, your last move will be taken
  590.         back.  Note that the tile(s) which are being returned to the
  591.         board will be momentarily highlighted on the monochrome screen.
  592.         This feature helps you to quickly return to "wherever I removed
  593.         those such-and-such tiles."  You can back-up all the way to the
  594.         beginning of the game, if you like.
  595.  
  596.  
  597. HELP
  598. ====
  599.         Help is really it's own little sub-function.  When you click on
  600.         help, the machine will pause for a moment (it's looking for
  601.         moves) and will then do one of two things.  If no moves are
  602.         left, you'll see a "No moves left" message on the left side of
  603.         the screen.  You're now free to start a new game, enter the game
  604.         into the Hall of Fame (via the Done key), or back-up to try to
  605.         get farther in this game (I often do this).
  606.  
  607.         If one or more moves is left, the message will tell you how
  608.         many.   The tiles for the first move will be highlighted on both
  609.         monitors.  Then, a small control panel with five buttons will
  610.         appear on the left section of the VGA screen.  To leave Help,
  611.         click on Exit.  To see the next move, just click on "Next".
  612.         Click on "Previous" to display the previous move.  When you've
  613.         decided which move you'd like to take, you can execute it by
  614.         first stepping to it with the Next / Previous buttons and then
  615.         clicking on "Do It!"  The help menu will disappear and your
  616.         selected move will be executed.
  617.  
  618.         You can also "X-ray" the board to find which stacks a given type
  619.         of tile is in regardless of whether or not it's buried.  To
  620.         start an X-ray, click on "X-ray" in the help menu.  A tile will
  621.         be shown in the upper left section of the screen.  Use the
  622.         previous / next buttons to step to the tile that you want to
  623.         find.  Then, click on SHOOT to turn on the X-ray machine.
  624.  
  625.         All stacks will grow dark and begin to flicker except for the
  626.         stacks containing the chosen tile.  They will be highlighted.
  627.         You'll also notice an irritating high-pitched sound coming from
  628.         the PC's built-in X-ray machine.  It's sometimes difficult to
  629.         interpret this X-ray, depending on the tile set.
  630.         Heavily-painted tiles are impervious to X-rays and can give
  631.         false readings.  But, the readings are usually quite helpful.
  632.         And with practice, you'll get better at reading the X-ray.
  633.         After all, your family physician went to school for countless
  634.         years to learn to read them!  One last thing -- the X-ray will
  635.         tell you which stack a tile is in, but NOT how deeply it;s
  636.         buried!  If it's on top, you'll see it.  But if it's buried,
  637.         you'll just have to dig or use Peek!
  638.  
  639.  
  640.  
  641.                                     - Page 11 -
  642.  
  643.  
  644.  
  645.  
  646.  
  647.         To turn off the X-ray machine, just click any mouse button.  You
  648.         can then select another tile with the previous / next buttons or
  649.         return the game by clicking on Exit.
  650.  
  651.         If you high-light a tile before clicking on Help, you'll be
  652.         shown only moves which use the selected tile value.  For
  653.         example:  If you select the One of Dots and then click on Help,
  654.         all One of Dots moves will be shown.  If no moves are possible
  655.         using the selected tile, you will be so informed.
  656.  
  657.         The help system is automatically exited when you select Do It!
  658.         to keep you from playing the entire game from within the Help
  659.         menu.  After all, we've got to give the Dragon a fighting
  660.         chance!!
  661.  
  662.         Some people have told me that they like to play MJVGA on their
  663.         own without help, but would like a quick way to find out if
  664.         there are any moves left.  You can do precisely that by holding
  665.         down the right mouse button while you click on help.  All you'll
  666.         see is a message on the left side of the screen which tells you
  667.         how many moves (if any) are left.  The message will disappear
  668.         after three seconds, or you can cancel it by clicking the LEFT
  669.         mouse button.  You'll be on your own to find the moves!
  670.  
  671.  
  672.         ATTENTION THREE-BUTTON MOUSE USERS:
  673.         This feature is for you!  When you're in the HELP sub-function,
  674.         you can step through the moves by using the center and right
  675.         mouse buttons.  Pressing the center button is just like clicking
  676.         on PREVIOUS.  The right button is a short-cut for clicking on
  677.         NEXT.  You can select EXIT by pressing the center & right
  678.         buttons at the same time.  (These Previous / Next / Exit mouse
  679.         button shortcuts will also work from within the X-ray menu.)
  680.         There is no short-cut for Do It or Shoot!  That'd make the HELP
  681.         function too convenient!
  682.  
  683.         There is also a short-cut to entering the Help menu available to
  684.         you.  Just click the center button!  If you click the center
  685.         button while holding down the right, you'll be put into the
  686.         abbreviated help mode described above.
  687.  
  688.         This short-cut can also be turned off in case you find yourself
  689.         accidentally hitting the center button & entering Help when you
  690.         don't want to.  The C key or (or choosing 'Center Button' from
  691.         the 'K' menu) will toggle the short-cut on & off.  A 'C' on the
  692.         command line will start the game with the short-cut turned off.
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.                                     - Page 12 -
  702.  
  703.  
  704.  
  705.  
  706.  
  707. DONE
  708. ====
  709.         Done is a combination of Quit and New Game, but has some added
  710.         features as well.  When you select DONE, your score for the game
  711.         will be calculated and, if you've made the Hall of Fame, you'll
  712.         be asked to enter your name.  Either way, your score & the Hall
  713.         of Fame will be displayed.  You'll then be given the option of
  714.         quitting or starting a new game.
  715.  
  716.         Note that QUIT and NEW GAME don't evaluate the game for
  717.         inclusion in the Hall of Fame.  You could use these if you're
  718.         not interested in the Hall of Fame or if the game has gone so
  719.         badly that you don't want the embarrassment of being told that
  720.         your score was thousands of points higher than what's needed for
  721.         HOF entry.
  722.  
  723.  
  724. TURNING OFF THE MENU
  725. ====================
  726.         The entire features menu can be removed from the gameboard by
  727.         clicking on the upper "MAH JONGG -V-G-A-" title.  When the menu
  728.         is removed, all menu operations are disabled except for "HELP",
  729.         which can still be accessed via the center mouse button.  To
  730.         return the menu and restore its operations, just click in the
  731.         title area again.
  732.  
  733.         What's the reason for this feature? None, except for aesthetics.
  734.         Someone suggested that the board might look nicer if the menu
  735.         could be removed.  I tried it and found out that he was right.
  736.         The board looks MUCH nicer when you don't have to stare at that
  737.         ugly menu!
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.                                     - Page 13 -
  762.  
  763.  
  764.  
  765.  
  766.  
  767. THE SPECIAL SUB-MENU
  768.  
  769.      I'll now describe the functions available in the SPECIAL sub-menu
  770. in the order of their appearance:
  771.  
  772.  
  773. BACKGND
  774. =======
  775.         This feature will let you TEMPORARILY change the background
  776.         color of the board.  When you select BACKGrouND, another small
  777.         window will open.  You'll see three bar-graphs labeled Red,
  778.         Blue, and Green.  You can raise or lower the content of any
  779.         color by clicking on its UP or DOWN button.  The color will
  780.         increase or derease one "notch" for each click.  Holding down
  781.         the center button while clicking will increase or decrease the
  782.         color value by 10 "notches" with each click.  When you've got
  783.         the color set to what you want, just click the right mouse
  784.         button to return to the game.
  785.  
  786.  
  787.         Note that this color change is temporary.  When you quit the
  788.         game, the color will be lost.  The next time you run MJVGA, the
  789.         default color will be used.  If you wish to change the
  790.         background color permanently, you must use The Draftsman.
  791.  
  792.  
  793. INFO...
  794. =======
  795.         Selecting INFO... simply displays the game title, a copyright
  796.         notice, a shareware notice, and the author's name & address.
  797.         This isn't necessary, but it's nice to have just in case the
  798.         program gets separated from its .DOC file.  To return to the
  799.         game, click the RIGHT mouse button.
  800.  
  801.  
  802. DOS SHELL
  803. =========
  804.         This feature will let you drop to DOS without losing your
  805.         current game (and without having to save it).  I added this
  806.         feature because I always seem to get important business phone
  807.         calls requiring access to a file on my PC during a game of Mah
  808.         Jongg!
  809.  
  810.         To return to the game, just type EXIT at the DOS prompt.
  811.  
  812.         NOTE:  As with any shell-to-DOS, you MUST NOT run any TSR-type
  813.         programs from within this shell!  Doing so could crash the
  814.         system!!  If you choose to run a TSR from here, don't say I
  815.         didn't warn you!!!
  816.  
  817.  
  818.  
  819.  
  820.  
  821.                                     - Page 14 -
  822.  
  823.  
  824.  
  825.  
  826.  
  827. SOUND
  828. =====
  829.         This button simply toggles the sound on and off.  With the sound
  830.         turned off, you won't hear all the various beeps, clicks,
  831.         buzzes, and bloops.
  832.  
  833. TIMER
  834. =====
  835.         The Timer button toggles the timer display off and on.  The
  836.         timer will continue to keep time, even if the display is turned
  837.         off.
  838.  
  839.  
  840.      Selecting any item on the Special sub-menu will automatically close
  841. the sub-menu.  If you'd like to exit the sub-menu without making a
  842. selection, just press the right mouse button.
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.                                     - Page 15 -
  882.  
  883.  
  884.  
  885.  
  886.  
  887. KEYBOARD COMMANDS
  888.  
  889.      There are several features which are accessable by either pressing
  890. a key on the keyboard or using the <K>eyboard drop-down menu as
  891. described above.  The on-screen menus were getting just too darn
  892. crowded, so the new features seem to be "overflowing" onto the keyboard
  893. and it's (new) associated drop-down menu.
  894.  
  895.  
  896. LOAD TILE SET
  897. =============
  898.         You can load in an alternate tile set at any time by tapping the
  899.         "L" key.  A list of available tile sets will be shown, along
  900.         with a scroll bar if you have enough sets.  To choose a tile
  901.         set, just scroll thru the list with the scroll bar (you DO know
  902.         how to use a scroll bar, don't you??) and click on the desired
  903.         tile set.  The four small buttons on the bottom are for special
  904.         "actions" as follows:
  905.            Enter - Selects the highlighted tile if you made a selection
  906.               via the keyboard (arrow keys will move a hilite bar up or
  907.               down, while page-up / page-down will move the scroll bar).
  908.            ESC - Exits the tile selector without choosing another tile
  909.               set.
  910.            Move - Allows you to move the tile selection window (although
  911.               I can't see why you'd want to!!)
  912.            Opt - Allows you to change either the sort (alphabetic or
  913.               date) or the drive / directory.  For example, to load
  914.               tiles from the A drive, you'd select Opt, then select PATH
  915.               from the pop-up menu (you can move this little thing, too,
  916.               by clicking on the top title bar), then typing A:\ at the
  917.               "new path" prompt.  You MUST end all entered paths with a
  918.               backslash!!!  If you don't, you'll get an error message!!!
  919.  
  920.  
  921. CURSOR BOX TOGGLE
  922. =================
  923.         MJVGA supports an alternate "box" cursor in addition to the
  924.         standard mouse pointer.  When the box cursor is turned on, a
  925.         thin box will be drawn around a tile when it's being "pointed
  926.         to" by the mouse cursor.  Some people seem to like this feature,
  927.         while others don't.  It does make tile selection a bit more
  928.         accurate, but can be quite distracting.  If you like the box,
  929.         use it -- if not, don't.  It can be turned on & off by tapping
  930.         the "B" key. Note that when the box cursor is active, the mouse
  931.         arrow will NOT disappear -- they'll both be visible.
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.                                     - Page 16 -
  942.  
  943.  
  944.  
  945.  
  946. HALL OF FAME
  947. ============
  948.         MJVGA maintains a "Hall of Fame" for high scorers.  Whenever you
  949.         win a game or choose "Done" and if your score is one of the
  950.         top ten, you'll be asked to enter your name into the hall of
  951.         fame.  The hall of fame honor roll can be called up at any time
  952.         by pressing the "H" key.  Click any mouse button to return to
  953.         the game.
  954.  
  955.         The "Hall of Fame" file can also be edited with the included
  956.         editing utility.  For details, please see the utilities manual.
  957.  
  958.  
  959. BOOK-MARKS
  960. ==========
  961.         MJVGA will store up to five "book-marks" which will allow you to
  962.         easily back up to a given point in the game.  To save a position
  963.         in one of the book-marks, just type <SHIFT-1> thru <SHIFT-5> for
  964.         book-marks 1 thru 5.  To back up to a bookmark, just type it''s
  965.         number.  MJVGA will then back up move-by-move (just as if you
  966.         repeatedly clicked on back-up) until it gets to the marked spot.
  967.         Please note that these book-marks are NOT currently saved with
  968.         the game when you select SAVE GAME.
  969.  
  970.  
  971. DOS SHELL
  972. =========
  973.         You can now easily get to the DOS shell by hitting <CTRL> - D at
  974.         any time.  Someone suggested adding a "boss key" feature, and I
  975.         decided that getting you to an innocent-looking DOS prompt
  976.         quickly would probably be enough to save your job.  So, here it
  977.         is!  As with the menu-selected DOS shell, you just type EXIT to
  978.         return to the game.
  979.  
  980.  
  981. Center Mouse Button Switch
  982. ==========================
  983.         MJVGA30 now includes a "mouse klutz" option which will turn off
  984.         the center-button 'help' short-cut for those who tend to
  985.         accidentally hit this button.  The 'C' key (or its
  986.         corresponding entry in the 'K' submenu) will toggle the
  987.         center-button 'Help' short-cut on & off.
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.                                     - Page 17 -
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007. STACK CONTROL MENU
  1008.  
  1009.      To get the stack control menu, just point to a tile stack and press
  1010. the RIGHT mouse button.   Then, drag until your desired operation (all
  1011. are explained below) is highlighted & release the button.  To close the
  1012. menu without making a selection, simply drag the mouse pointer off of
  1013. the menu, which will then vanish.
  1014.  
  1015.    The stack control menu features three choices, as follows:
  1016.  
  1017. PEEK
  1018. ====
  1019.      PEEK will allow you to see all the tiles in a stack, and what order
  1020.      they're in.  Because this only helps you plan your strategy, but
  1021.      doesn't give away any moves, there are no Hall of Fame penalty
  1022.      points added to your score for accessing PEEK.  The HOF will,
  1023.      however, keep track of how many times you used this feature.
  1024.  
  1025.  
  1026. ROTATE
  1027. ======
  1028.      This command will "rotate" the stack - ie, all tiles will move up
  1029.      one position, except for the top tile which will move to the
  1030.      bottom.  This is very much a desperation "cheat" maneuver and
  1031.      should be used sparingly.  In fact, if you use this or the next
  1032.      REMOVE feature, your game will no longer be eligible for the Hall
  1033.      of Fame.  You'll be so warned the first time you attempt either of
  1034.      these cheats within a game.
  1035.  
  1036.      One important problem with Rotate is that it can cause the Back-up
  1037.      feature to behave strangely.  Back-up builds up one tile on the
  1038.      affected piles without checking them for validity, so if you
  1039.      back-up a rotated pile, you may get un-matched pairs coming back.
  1040.      I have no intention of fixing this problem, so don't even ask.  If
  1041.      you're resorting to this to try to win, you don't deserve to back
  1042.      up!
  1043.  
  1044.  
  1045. REMOVE
  1046. ======
  1047.      This feature is even more of a cheat than Rotate.  You can remove
  1048.      ANY top tile, without regard for matching or being free.  As I said
  1049.      above, using this feature will keep your game out of the Hall of
  1050.      Fame -- so use it only as a last resort!!
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.                                     - Page 18 -
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067. COMMAND LINE OPTIONS
  1068.  
  1069.      Mah Jongg -V-G-A- v2.2 will accept five different command line
  1070. options -- S, T, M, F, and D.  The purpose of each is as follows:
  1071.  
  1072.    B - Begin the game with the "box cursor" turned on
  1073.  
  1074.    C - Begin the game with the center mouse button 'Help' short-cut
  1075.        turned off.
  1076.  
  1077.    D - Enables the dual-monitor feature.  MJVGA21 will NOT use a
  1078.        secondary monochrome monitor unless ordered to via the D
  1079.        parameter.  Earlier releases used a second monitor by default.
  1080.        However, that caused compatibility problems on some systems
  1081.        without monochrome cards.
  1082.  
  1083.    F - Read PAL.CFG and all .ICN files from another disk or
  1084.        subdirectory.  Some examples:
  1085.  
  1086.           f=a:   <== This reads all files from drive A:
  1087.           f=E:\MJVGA\TILES2\  <==  Reads tiles from E:\mjvga\tiles2
  1088.  
  1089.        Note that all subdirectory references MUST be terminated with a
  1090.        backslash (as above).
  1091.  
  1092.        I'm not really sure how well this feature works with .TIS files.
  1093.        I added it back in version 2.0, when all tiles were in individual
  1094.        files, and haven't really used it much.  So, be VERY careful when
  1095.        using this feature!!
  1096.  
  1097.    L - Loads a particular tile set.  For example, L10 would start the
  1098.        game with tile set V10.TIS.
  1099.  
  1100.    M - Begin the game with messages off
  1101.  
  1102.    R - Use a Roland MT-32 (or other MIDI sound module) to produce game
  1103.        sounds.  See the appendix on customizing the midi sound file for
  1104.        your particular synth.
  1105.  
  1106.    S - Begin the game with sound off
  1107.  
  1108.    T - Begin the game with the timer display off
  1109.  
  1110.  
  1111.  
  1112.      Some of these options can be changed once the game is started.
  1113. The command line settings simply control the position of these switches
  1114. when the game starts.  They let you set up the game to your liking
  1115. without having to click on buttons once the game starts.
  1116.  
  1117.      The parameters must be single letters (except for the F parameter)
  1118. separated by a space.  They can be entered in any order.
  1119.  
  1120.  
  1121.                                     - Page 19 -
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127. IN CASE OF DIFFICULTY
  1128.  
  1129.      So far, I've come across only one problem that you may encounter.
  1130. The main symptom is the lack of a mouse pointer, although you will be
  1131. able to highlight tiles with the left button.
  1132.  
  1133.      The problem is caused by an out-of-date mouse driver.  MJVGA uses
  1134. the 640x480 VGA graphics mode, and mouse drivers which were written
  1135. before VGA became a standard simply don't know how to deal with the
  1136. high-resolution graphics screen.
  1137.  
  1138.      I've heard about this problem with the Kraft Micro-Mouse, the Mouse
  1139. Systems mouse, and the Logitech mouse.
  1140.  
  1141.      The solution is to simply get a newer mouse driver from the
  1142. manufacturer of your mouse.  I know for a fact that Logitech (which is
  1143. what I use) and Mouse Systems have updated drivers available which will
  1144. correct this problem.
  1145.  
  1146.  
  1147.  
  1148. TECHNICAL SUPPORT
  1149.  
  1150.      If you have any problem with MJVGA, please let me know.  I'll be
  1151. glad to do what I can to help you get it running.  Of course, I can't
  1152. guarantee that MJVGA will run on all systems!  No software company can
  1153. do that!  But so far, I haven't heard of any major compatibility
  1154. problems (except for the out-of-date mouse driver problem addressed
  1155. above).  So, chances are it'll run OK on your PC.
  1156.  
  1157.      My only request is that you enclose a SASE if you would like a
  1158. reply.  My policy has been (and always will be) that I will NOT reply
  1159. to letters from non-registered users unless they include a SASE.  I
  1160. really don't think it's fair to expect registered users to (literally)
  1161. pay the expenses of technical support for non-registered users.
  1162. However, I will definitely reply as long as you cover the costs by
  1163. sending a SASE.
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.                                     - Page 20 -
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187. BULLETIN BOARD
  1188.  
  1189.      Jami, the Sys-Op from The Party Line BBS which has been serving as
  1190. my techincal support board, has moved to Texas.  So, there is no longer
  1191. a  MJVGA support board.  I haven't yet decided whether I should put up
  1192. my own BBS or just do without a tech support board.
  1193.  
  1194.      Jami will have a BBS operating in Texas, and I plan to send her all
  1195. MJVGA updates and tilesets.  So, you should still be able to get the
  1196. latest version there.  For her Texas BBS number, along with any
  1197. other BBS's that I know will always have the latest & greatest
  1198. MJVGA, please look for a file called BBS.NUM on one of the disks.
  1199.  
  1200.  
  1201.  
  1202. WHAT'S NEXT
  1203.  
  1204.      I'm still looking for more tile sets.  I'm now offering TWO (oh,
  1205. boy!) tile set disks to anyone who contributes a tile set to the
  1206. collection.  So far, I have at least five disks worth.  Thank you to all
  1207. who contributed!
  1208.  
  1209.      I really don't know what new features (if any) will be added to
  1210. MJVGA from here.  It does just about everything I can think of.  If you
  1211. have any suggestions, send them in -- I need them!
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.                                     - Page 21 -
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247. SHAREWARE
  1248.  
  1249.      Please remember that this game is NOT public domain.  It is
  1250. shareware!  If you play and enjoy this game regularly, you are urged to
  1251. send the registration fee of $15.00 (or any amount that you see fit).
  1252. Remember, shareware will only be around as long as YOU support the
  1253. concept!
  1254.  
  1255.      When registering, please include the version and serial number from
  1256. the copy of MJVGA that you have.  All registered users will receive the
  1257. next update free-of-charge.  However, if I don't know what you've got, I
  1258. may send you a duplicate copy!
  1259.  
  1260.      If you'd prefer to register with a simple fill-in-the-blanks form,
  1261. you can print a registration / order form by pressing CTRL R while
  1262. running Mah Jongg -V-G-A-.  The form will print to printer port LPT1, so
  1263. be sure the printer is turned on and selected.
  1264.  
  1265.      The order form also includes check-boxes to order various tile set
  1266. library and Mah Jongg -V-G-A- utility disks (all public domain) for $3
  1267. per disk.  Please note that I will send these disks ONLY to registered
  1268. MJVGA users.  If you wish to order any of them but are not a registered
  1269. user, you MUST include the $15 registration fee with your order.  All
  1270. extra disk orders from unregistered users WILL BE DISCARDED!!!!
  1271.  
  1272.      Whether or not you choose to register, I'd like to hear your
  1273. comments and suggestions on Mah Jongg -V-G-A-.  If you'd like a reply,
  1274. please include a stamped, self-addressed envelope.
  1275.  
  1276.      All comments and contributions can be sent to:
  1277.  
  1278.               Ron Balewski
  1279.               412 E. Ridge St.
  1280.               Nanticoke, PA  18634-2915
  1281.  
  1282. DISCLAIMER
  1283.  
  1284.      In no event shall the Author be liable to you for any damages,
  1285. including any lost profits, lost savings, or other incidental or
  1286. consequential damages arising out of the use of or inability to use this
  1287. program, even if the Author has been advised of the possibility of such
  1288. damages, or for any claim by any other party.
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.                                     - Page 22 -
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307. PERMISSION TO COPY
  1308.  
  1309.      Individuals, clubs, and other organizations are granted permission
  1310. by the author to freely copy and distribute this program and
  1311. documentation as long as:
  1312.  
  1313. 1. There is no charge for the software or documentation.  However, you
  1314.     may charge a service fee for disk duplication and distribution, as
  1315.     long as such fee is not more than $5.00.
  1316. 2. Club members are informed of the user-supported (shareware) concept
  1317.     and are encouraged to support it with their donations.
  1318. 3. The program or its documentation are not modified in any way.
  1319. 4. All files are distributed together on the same diskette (if
  1320.     possible).  No file may be deleted.
  1321.  
  1322.  
  1323.  
  1324. ATTENTION SHAREWARE VENDORS:
  1325. ============================
  1326.    You have my permission to distribute this copy of MJVGA as long as
  1327. you don't charge more than $5 for the disk.  However, please don't ask
  1328. me to send you an updated copy at my expense, because I won't!  After
  1329. all, you're the guy making money on MJVGA by selling copies.  The least
  1330. you can do is cover my expense of sending you a copy.  Unless your
  1331. request is accompanied by a stamped, self-addressed return mailer & a
  1332. blank formatted disk (or a $3 check), your request for a freebie WILL GO
  1333. DIRECTLY INTO THE CIRCULAR FILE!!!  THERE WILL BE NO EXCEPTIONS!!!  If
  1334. you are considerate enough to cover my costs, though, I will definitely
  1335. send you a fresh, new copy of MJVGA.  Be sure to send your request on
  1336. your company letterhead, since I WILL NOT sell duplicates to the general
  1337. public!  Only registered users & shareware distributors will qualify to
  1338. get disks directly from me.  Again, NO EXCEPTIONS!!!
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.                                     - Page 23 -
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.                                  Appendix A
  1368.  
  1369.                            The .TIL and .TIS files
  1370.  
  1371.  
  1372. If you'd like to give some newly-created tile to a friend, you've got
  1373. to know which file to give him!  That's the purpose of this Appendix!
  1374. The .TIL files are related to the images as follows:
  1375.  
  1376.      V00.TIL == Bamboo 1
  1377.        thru      thru
  1378.      V08.TIL == Bamboo 9
  1379.      V09.TIL == Dots 1
  1380.        thru      thru
  1381.      V17.TIL == Dots 9
  1382.      V18.TIL == Crak 1
  1383.        thru      thru
  1384.      V26.TIL == Crak 9
  1385.      V27.TIL == North
  1386.      V28.TIL == East
  1387.      V29.TIL == South
  1388.      V30.TIL == West
  1389.      V31.TIL == Dragon C
  1390.      V32.TIL == Dragon P
  1391.      V33.TIL == Dragon F
  1392.      V34.TIL == Spring
  1393.      V35.TIL == Summer
  1394.      V36.TIL == Autumn
  1395.      V37.TIL == Winter
  1396.      V38.TIL == Orchid
  1397.      V39.TIL == Plum
  1398.      V40.TIL == Mum
  1399.      V41.TIL == Bamboo
  1400.      V42.TIL == Reserved -- Internal use
  1401.      V43.TIL == Reserved -- Internal use
  1402.  
  1403.      PAL.CFG == Color configuration file (changeable with The Paint
  1404.                 Shop section of The Draftsman)
  1405.  
  1406. If you customize a complete set of tiles and save them to a separate
  1407. diskette, BE SURE to include an EXACT COPY of V42.TIL and V43.TIL.
  1408. Without these files on the same disk & subdirectory as PAL.CFG and the
  1409. other .TIL files, MJVGA will refuse to load!!!  Also note that these
  1410. files are not (at present) user-changeable!!!
  1411.  
  1412. The .TIS (tileset) file is new to MJVGA21 and later.  It consists of all
  1413. the above tiles saved as one large file.  A collection of .TIL files can
  1414. be assembled into one .TIS file with the PAKTIL utility.  The UPPAKTIL
  1415. utility will do the opposite -- break a .TIS file apart into 44 .TIL
  1416. files and one PAL.CFG file.
  1417.  
  1418. Note that The Draftsman REQUIRES .TIL and PAL.CFG files to operate.  It
  1419. WILL NOT work on a .TIS file.  Before using The Draftsman, you MUST use
  1420. UNPAKTIL to disassemble the thile set that you want to change.
  1421.                                     - Page 24 -
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.                                  Appendix B
  1428.  
  1429.                    MIDI, MJVGA30, and the MJMIDI.SND file
  1430.  
  1431.  
  1432.      MJVGA30 comes pre-configured to use the Roland MT-32 sound module
  1433. along with a MIDI interface card (the all-in-one Roland board should
  1434. work, too).  All you have to do is add an R to the command line to tell
  1435. MJVGA30 that the MIDI hardware is there & you want it used.
  1436.  
  1437.      If you have another synth/sound module, you may have to do some
  1438. work to be able to use it.
  1439.  
  1440.      MJVGA30 gets its sound program from a file named MJMIDI.SND, which
  1441. is really a collection of small, sequential programs which MJVGA30 will
  1442. execute whenever some sound is called for.  There are also other .SND
  1443. files on the disk, such as MT32.SND.  Generally, the file name will give
  1444. you a clue as to which synth the file's for.. ie, MT32.SND is for the
  1445. Roland MT-32, D110.SND is for the Roland D-110, etc.  Initially,
  1446. MJMIDI.SND and MT32.SND are identical -- meaning MJVGA30 is configured
  1447. for the MT-32.  To configure it for another available syth, just type:
  1448.  
  1449.     COPY <desired file name> MJMIDI.SND
  1450.  
  1451. For example, to set MJVGA30 to use the Kawai MS710, you would enter:
  1452.  
  1453.    COPY MS710.SND MJMIDI.SND
  1454.  
  1455.  
  1456.      If your synth isn't one of the few that I've pre-configured, you'll
  1457. have to write your own configuration file.  It's not as hard as you
  1458. might think, though.  The fact that you're experienced enough to have a
  1459. MIDI PC means you should have no trouble at all.
  1460.  
  1461.      First, print out a copy of MT32.SND or MJMIDI.SND.  I'll refer to
  1462. this listing as I describe the details of the .SND file.  It's a
  1463. standard text file, so any printer will work.
  1464.  
  1465.      There are currently 9 sound routines.  Each sound routine is
  1466. preceeded by a *n line, where n is the number of the routine.  The
  1467. text following the *n is a comment and will be ignored.  In the MT32
  1468. listing, it will tell you when each sound is called and what instrument
  1469. I'm using.  For example, sound routine *1 produces the "tick" sound
  1470. that's heard every time a tile is selected or de-selected.  The other
  1471. sound routines are similarly named.
  1472.  
  1473.      The lines between *n lines make up the actual MIDI program.  The
  1474. left-most digit is an op-code (I'll give you a complete list shortly).
  1475. The remaining numbers are parameters such as delay times, MIDI channels,
  1476. MIDI patches, or whatever a particular code needs to do it's thing.
  1477.  
  1478.  
  1479.  
  1480.  
  1481.                                     - Page 25 -
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.    The complete language syntax is as follows:
  1488.  
  1489.      1 p1 p2
  1490.        Send patch change command
  1491.         p1 = MIDI channel
  1492.         p2 = patch number
  1493.  
  1494.      2 p1 p2 p3
  1495.        Send note-on command
  1496.         p1 = MIDI channel
  1497.         p2 = note
  1498.         p3 = velocity (0 - 127)
  1499.  
  1500.      3 p1 p2
  1501.        Send note off command (Actually a note-on with velocity of 0)
  1502.         p1 = MIDI channel
  1503.         p2 = note
  1504.  
  1505.      4 p1
  1506.        Delay p1 milliseconds
  1507.         p1 = # of milliseconds to delay
  1508.  
  1509.      5 p1
  1510.        Turn all notes off by sending all notes a note-on with 0 velocity
  1511.         p1 = MIDI channel
  1512.  
  1513.      6 p1
  1514.        Turn on a random note at a velocity of 127
  1515.         p1 = MIDI channel
  1516.  
  1517.  
  1518. There you have it -- the complete configuration language.  You can
  1519. probably figure out the rest from here, but I'll analyze a couple lines
  1520. of code for you just to be sure.
  1521.  
  1522. The first line of code under section *1 reads:
  1523.      1 2 120
  1524. This means transmit a patch change message on MIDI channel 2 to change
  1525. to patch #120.
  1526.  
  1527. The second line of *1 reads:
  1528.      2 2 60 127
  1529. This means send Note-on command on MIDI channel 2 for note 60 with a key
  1530. velocity of 127.
  1531.  
  1532.      As I said earlier, the comments by each *n program section will
  1533. tell you what each section is used for and what sound I'm currently
  1534. using for that effect.  The simplest way for you to customize this file
  1535. is to just change the patch commands to point to something on your synth
  1536. that's similar to what I'm using, then change the MIDI channels, if
  1537. necessary, to some that your synth can use.  You can get really
  1538. creative, though.  For example, you might want a brass fanfare every
  1539. time you match two tiles.
  1540.  
  1541.                                     - Page 26 -
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.      There are only two things to watch for.  First, a given sound
  1548. routine can have no more than 50 steps.  Second, and more important, is
  1549. the fact that these sounds are NOT background sounds.  When the sound is
  1550. being generated, that's all the PC can do.  You don't go on with the
  1551. game until the sound's over.  So, if you program a 10-minute fanfare
  1552. whenever you match tiles, you'll have to wait ten minutes before you can
  1553. continue playing.  So be careful!!!
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.                                     - Page 27 -
  1602.  
  1603.  
  1604.